import { http } from '@/utils/http'

export function usePmCustomInfoApi() {
  return {
    // 获得客户信息
    getCustomerInformation(id: string | number) {
      return http.get<PmCustomInfoForm>('/prod-api/admin-api/project/customer-information/get?id=' + id)
    },
    // 获得客户信息分页
    getCustomerInformationPage(query: any) {
      return http.get<{
        list: PmCustomInfoForm[]
        total: number
      }>('/prod-api/admin-api/project/customer-information/page', query)
    }
  }
}
